package _1024.star;

import java.sql.Date;
import java.sql.SQLException;
import java.util.List;

public interface StarDao {

	boolean insert(Star star) throws SQLException;
	boolean update(Star star) throws SQLException;
	boolean delete(Integer id) throws SQLException;
	
	Star selectById(Integer id)throws SQLException;
	List<Star> selectByName(String name)throws SQLException;
	List<Star> selectByBirthday(Date start,Date end)throws SQLException;
	List<Star> selectByWorks(String works)throws SQLException;
}
